package com.yix.admin.modules.system.entity.query;

import com.yix.common.annotation.Query;
import lombok.Data;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

/**
 * @author wdx
 * @version 1.0
 * @Description TODO
 * @date 2021/2/1 13:26
 */
@Data
public class SysMenuQuery {

    @Query(blurry = "title,component,permission")
    private String blurry;

    @Query(type = Query.Type.BETWEEN)
    private List<Timestamp> createTime;

    @Query(type = Query.Type.IS_NULL, propName = "pid")
    private Boolean pidIsNull;

    @Query
    private String pid;
}
